#pragma once

#include <stdlib.h>

class Stack
{
public:
	Stack(int n = 4);
	~Stack();
	//void Init();
	void Push(int x);
	//void Destroy();

private:
	int* _a;
	int _top;
	int _capacity;
};

class Queue
{
public:
	void Init();
	void Push(int x);
};